﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEditor;
using UnityEngine;

[CustomEditor(typeof(UIAnimation), true)]
public class CustomUIAnimation:Editor
{
    public override void OnInspectorGUI()
    {
        if (Application.isPlaying)
            GUI.enabled = false;
        base.OnInspectorGUI();
        GUI.enabled = true;
    }

}
